C1.class : C1.java C2.class
	javac C1.java

C2.class : C2.java
	javac C2.java

C3.class : C3.java C1.class C2.class
	javac C3.class

MyProg.class : MyProg.java C3.class
	javac MyProg.class
